


Route::group(function () {
    //积分商城
        Route::get("/score_index", "app\admin\controller\Product@index")->name("score.index");// 商品列表
        Route::post("/score_verify", "app\admin\controller\Product@verify")->name("score.verify");// 审核通过
        Route::post("/score_refund", "app\admin\controller\Product@refund")->name("score.refund");// 审核拒绝
        Route::post("/score_deliver", "app\admin\controller\Product@deliver")->name("score.deliver");// 发货
        Route::get("/score_log", "app\admin\controller\Product@exchange")->name("score.exchange_log");// 兑换记录
        Route::post("/score_log_export", "app\admin\controller\Product@exchange_log_export")->name("score.exchange_log_export");// 兑换记录
        Route::get("/score_detail", "app\admin\controller\Product@detail")->name("score.detail");// 详情
        Route::post("/score_delete", "app\admin\controller\Product@delete")->name("score.delete");// 删除
        Route::post("/score_create", "app\admin\controller\Product@create")->name("score.create");// 创建  
        Route::post("/score_edit", "app\admin\controller\Product@edit")->name("score.edit");// 编辑
    })
->allowCrossDomain()// 跨域
->middleware(middleware\Auth::class)// jwt认证
->middleware(middleware\Permission::class);// 权限认证